package org.example.shoppingsystem.service;
import org.example.shoppingsystem.model.User;

import java.sql.SQLException;

public interface UserService {
    boolean login(String username, String password) throws SQLException;
    boolean register(User user) throws SQLException;
    User findUserByAccount(String account) throws SQLException;
}

